package com.example.springboot01.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.springboot01.entity.Course;
import com.example.springboot01.entity.Student;
import com.example.springboot01.entity.Teacher;
import com.example.springboot01.req.PageQueryReq;

import java.io.Serializable;
import java.util.List;

public interface TeacherService extends IService<Teacher> {

    IPage<Teacher> getPage(PageQueryReq req);

    void addTeacher(Teacher teacher);

    Teacher getByUserId(Serializable userId);

    List<Student> listStudent();

    Course getCourse();
}
